]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Lay out windows based on the real allocation
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 25 Feb 2013 23:34:17 +0000 (18:34 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 22 Apr 2013 18:01:00 +0000 (14:01 -0400)
commitc37259b01de27eb6bc21075ea4f7e50b1eb146ec
treed01330235bfa2442203be685649349c70e7d1f10
parentbde8cc3285d02159d4b185eba16415dfdc17fe87
workspace: Lay out windows based on the real allocation

Instead of doing an entire recalculation of window positions when
sliding the thumbnails box, simply recalculate the position and scale
with basic aspect ratio math. This also ensures that windows won't
miraculously swap positions, even if we reposition windows while the
thumbnails box is expanded.

https://bugzilla.gnome.org/show_bug.cgi?id=694469
js/ui/workspace.js
js/ui/workspacesView.js